<template>
  <div>
    <button @click="show">Click</button>
  </div>
</template>

<script>
import { Message } from './components/message'
export default {
  name: 'App',
  methods: {
    show() {
      // Message({ type: 'success', message: 'xxx' })
      Message.success({
        message: 'This is a MessageBox'
      })
    }
  }
}
</script>

<style lang="scss" scoped></style>
